home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_200 / 247_03 / tcdoit.bat < prev    next >
Encoding:
DOS Batch File  |  1989-04-17  |  2.5 KB  |  101 lines

  1. rem MIRACL - IBM PC/MS-DOS Version 2.0
  2. rem This batch files creates miracl.lib from its component parts
  3. rem using the Turbo C v1.0 (or greater) compiler, the Microsoft MASM
  4. rem macroassembler V3.0, and the Microsoft LIB librarian utility
  5. rem Also included are the commands to create all the example programs
  6. rem using the Turbo TLINK utility
  7. rem
  8. rem Read your compiler documentation for further information
  9. rem 
  10. rem Invoke as "tcdoit". It is assumed that paths have been correctly set up to
  11. rem the compiler, librarian and linker.
  12. rem
  13. rem Note - use with care. There is insufficient space for all of the files
  14. rem created by this batch file on the distribution diskette alone.
  15. rem
  16. rem Provided mainly as a guide for creating a batch file tailored
  17. rem specifically to your own configuration.
  18. rem
  19. rem On a diskette based system these commands should be executed manually,
  20. rem changing diskettes as necessary
  21. rem
  22. rem Compile MIRACL modules
  23. tcc -c bncore
  24. tcc -c bnarth0
  25. tcc -c bnarth1
  26. tcc -c bnarth2
  27. tcc -c bnsmall
  28. tcc -c bnround
  29. tcc -c bnio1
  30. tcc -c bnio2
  31. tcc -c bngcd
  32. tcc -c bnxgcd
  33. tcc -c bnarth3
  34. tcc -c bnrand
  35. tcc -c bnprime
  36. tcc -c bnflash
  37. tcc -c bndouble
  38. tcc -c bnbuild
  39. tcc -c bnflsh1
  40. tcc -c bnpi
  41. tcc -c bnflsh2
  42. tcc -c bnflsh3
  43. tcc -c bnflsh4
  44. rem 
  45. rem Assemble bnmuldv.c
  46. tcc -c -B bnmuldv.c
  47. rem
  48. rem Create library 'miracl.lib'
  49. del miracl.lib
  50. lib miracl;
  51. lib miracl +bnflsh4+bnflsh3+bnflsh2+bnpi+bnflsh1;
  52. lib miracl +bnio2+bnio1+bndouble+bnflash+bnrand+bnprime;
  53. lib miracl +bnxgcd+bngcd+bnround+bnbuild+bnarth3+bnarth2+bnarth1+bnarth0;
  54. lib miracl +bnsmall+bncore+bnmuldv;
  55. del bn*.obj
  56. rem
  57. rem Compile and link example programs
  58. tcc brute miracl.lib
  59. del brute.obj
  60. tcc mersenne miracl.lib
  61. del mersenne.obj
  62. tcc rsakey miracl.lib
  63. del rsakey.obj
  64. tcc encode miracl.lib
  65. del encode.obj
  66. tcc decode miracl.lib
  67. del decode.obj
  68. tcc okakey miracl.lib
  69. del okakey.obj
  70. tcc enciph miracl.lib
  71. del enciph.obj
  72. tcc deciph miracl.lib
  73. del deciph.obj
  74. tcc pi miracl.lib
  75. del pi.obj
  76. tcc sample miracl.lib
  77. del sample.obj
  78. tcc roots miracl.lib
  79. del roots.obj
  80. tcc hilbert miracl.lib
  81. del hilbert.obj
  82. tcc brent miracl.lib
  83. del brent.obj
  84. tcc pollard miracl.lib
  85. del pollard.obj
  86. tcc williams miracl.lib
  87. del williams.obj
  88. tcc lenstra miracl.lib
  89. del lenstra.obj
  90. tcc qsieve miracl.lib
  91. del qsieve.obj
  92. tcc fact miracl.lib
  93. del fact.obj
  94. tcc palin miracl.lib
  95. del palin.obj
  96. tcc hail miracl.lib
  97. del hail.obj
  98. tcc ratcalc miracl.lib
  99. del ratcalc.obj
  100.  
  101.